Fixes: 7f0b1e98c ("cleanup: Adapt to removed ClutterColor")
Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7722
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3371>
this.connect('style-changed', () => {
const themeNode = this.get_theme_node();
const textColor = themeNode.get_foreground_color();
- const [, luminance] = textColor.to_hls();
+ const [, , luminance] = textColor.to_hsl();
const file = luminance > 0.5
? this._fileDark
: this._fileLight;